package cn.iocoder.yudao.module.common.controller.admin.textbookversion.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;

@Schema(description = "管理后台 - 教材版本新增/修改 Request VO")
@Data
public class TextbookVersionSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "1890")
    private Long id;

    @Schema(description = "教材版本名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "李四")
    @NotEmpty(message = "教材版本名称不能为空")
    private String versionName;

    @Schema(description = "学科ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15182")
    @NotNull(message = "学科ID不能为空")
    private Long subjectId;

    @Schema(description = "年级ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "7991")
    @NotNull(message = "年级ID不能为空")
    private Long gradeId;

    @Schema(description = "封面地址", example = "https://www.iocoder.cn")
    private String coverUrl;

}